From: Jasper St. Pierre Date: Tue, 22 Apr 2014 22:35:37 +0000 (-0400) Subject: texture-cache: Fix compile warning X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~2529 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=90589fabee4c699161e0643a13d530f8dbe2510a;p=gnome-shell.git texture-cache: Fix compile warning --- diff --git a/src/st/st-texture-cache.c b/src/st/st-texture-cache.c index fbdf7d6df..6ec358165 100644 --- a/src/st/st-texture-cache.c +++ b/src/st/st-texture-cache.c @@ -1197,7 +1197,7 @@ load_sliced_image (GSimpleAsyncResult *result, if (!g_file_get_contents (data->path, &buffer, &length, NULL)) goto out; - if (!gdk_pixbuf_loader_write (loader, buffer, length, NULL)) + if (!gdk_pixbuf_loader_write (loader, (const guchar *) buffer, length, NULL)) goto out; if (!gdk_pixbuf_loader_close (loader, NULL))